package com.lxp.userms.mapper;

import com.lxp.userms.entity.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {
    int insertComment(Comment comment);
    List<Comment> selectCommentsByPostId(int postId);

    void deleteCommentsByPostId(int postId);
}